After noticing and reading this thread this morning I decided to do a test build using Fedora 19 as host and LFS 7.4 stable.
Up to this point (I just finished all chapters up to and including chapter 6.17 GCC-4.8.1) I did not run into anything blocking.
Here's some info:
- Host image used: fedora-live-desktop-x86_64-19-1.iso
- VM setup: 4 Gb Ram / 4 CPU's / 30 Gb Disk (15 Gb for Fedora, 15 Gb for LFS)
- default installation (root + 1 normal user)
Host System Requirements for fedora to build lfs 7.4 stable:
- bison not found
- yacc not found
- gcc not found
- g++ not found
- m4 not found
- patch not found
- perl not found
- makeinfo not found
Install missing requirements on Fedora:
Code:
yum install bison byacc gcc gcc-c++ m4 patch perl texinfo
Chapter 2:
- I did run into the following when creating/mounting the partition for LFS: When logged in as a normal user and you use the disk manager to create the partition this partition is mounted with the credentials of that user (i.e.:
drwx------ druuna:druuna /mnt/lfs). This will generate a
permission denied later on. This is easily overcome. As root set the correct owner, group and permissions after mounting $LFS:
Code:
# chmod root:root $LFS
# chmod 755 $LFS
Chapter 5:
- I did not run any of the tests in chapter 5 and used the following MAKEFLAGS setting:
MAKEFLAGS='-j 5'
Chapter 6:
- I did run the test in chapter 6 and also used
MAKEFLAGS='-j 5'
- I did get
SELinux notifications when running glibc's, binutils' and gcc's make check. Which I ignored and then removed it from the DB. Removing this trigger from the DB might not be advisable when Fedora is your primary machine.
I totally forgot about SELinux when starting this test. Out-of-the-box it is set to enforcing, you are probably better off to set it to permissive while building LFS.
Up to this point it seems that Fedora can be used as host to build LFS. I do have to admit that Fedora needs more work to get it compliant. All in all I would not advise people to use it as host to build LFS.
Off-topic rant: I truly, wholeheartedly and intensely hate Gnome 3!!